//
//  QDMetroCodeHeaderView.h
//  QDMetroClient
//
//  Created by YueWen on 2018/12/28.
//  Copyright © 2018 YueWen. All rights reserved.
//

#import "QDMetroBaseHeaderView.h"

NS_ASSUME_NONNULL_BEGIN

typedef dispatch_block_t QDMetroCodeHeaderViewChangeTypeHandler;

/// 放置乘车以及出站二维码的headerView
@interface QDMetroCodeHeaderView : QDMetroBaseHeaderView

/// 显示二维码的imageView
@property (nonatomic, strong) UIImageView *codeImageView;
/// 显示 `二维码对准闸机口扫码进出站`
@property (nonatomic, strong) UILabel *titleLabel;
/// 显示 `刷码距离建议3-5cm`
@property (nonatomic, strong) UILabel *subtitleLabel;




/// PayTypeView

/// 显示支付方式以及图片的button
@property (nonatomic, strong) UIButton *typeButton __deprecated_msg("Deprecated!");
/// 显示支付方式的图片
@property (nonatomic, strong) UIImageView *typeImageView;
/// 显示支付类型的标签
@property (nonatomic, strong) UILabel *typeTitleLabel;
/// 显示"优先使用此支付方式支付款"
@property (nonatomic, strong) UILabel *typeDescLabel;
/// 显示箭头的按钮
@property (nonatomic, strong) UIButton *arrowButton;
/// 放置公交提醒的imageView
@property (nonatomic, strong) UIImageView *signImageView;



/// 支付方式选择进行的回调
@property (nonatomic, copy, nullable)QDMetroCodeHeaderViewChangeTypeHandler changeTypeHandler;

@end

NS_ASSUME_NONNULL_END
